﻿using System;

namespace SqueezeboxLib
{
    public delegate void ClientStatusChangedEventHandler(object sender, ClientStatusChangedEventArgs args);

    public class ClientStatusChangedEventArgs : EventArgs
    {
        public string PlayerID { get; private set; }

        public ClientStatus ClientStatus { get; private set; }

        public ClientStatusChangedEventArgs(string playerID, ClientStatus clientStatus)
        {
            PlayerID = playerID;
            ClientStatus = clientStatus;
        }
    }

    public enum ClientStatus
    {
        New,
        Disconnect,
        Reconnect,
    }
}
